<p>This is an <a href="/url" title="title" class="class" id="inline-link">inline link</a>.</p>

<p>This is a <a href="/path/to/something" title="Title" class="class" id="ref" data-key="val">reference link</a>.</p>

<p>This is an <img alt="inline image" src="/img" title="title" class="class" id="inline-img" />.</p>

<p>This is a <img alt="reference image" src="/path/to/something" title="Title" class="class" id="ref" data-key="val" />.</p>

